package com.leonzx.base.utils;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author zy
 * 2018-7-19 17：21
 */
@Configuration
@ConfigurationProperties(prefix = "title")
public class TitleNameConstants {
    public static String INDEX_TITLE;
    public static String INDEX_NAME;
    public static String LOGIN_TITLE;
    public static String LOGIN_NAME;

    public void setIndexTitle(String indexTitle) {
        TitleNameConstants.INDEX_TITLE = indexTitle;
    }

    public void setIndexName(String indexName) {
        TitleNameConstants.INDEX_NAME = indexName;
    }

    public void setLoginTitle(String loginTitle) {
        TitleNameConstants.LOGIN_TITLE = loginTitle;
    }

    public void setLoginName(String loginName) {
        TitleNameConstants.LOGIN_NAME = loginName;
    }
}
